<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>{{ config('app.name', 'Laravel') }}</title>

    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    <style>
        .navbar{
            background-color: #ffff00;
            margin-bottom: 0;
        }
        .container{
            min-width: 970px;
        }
        .logo{
            height: 130%
        }
        .carousel-inner>.item>img {
            /*max-height: 500px;*/
            width: 100%;
        }
        .edit-info{
            color:#636b6f;
            cursor: pointer;
            background-color: #ffffff;
            border-radius: 10px;
            border-left: 5px solid #ffffff;
            border-right: 5px solid #ffffff;
        }
        .edit-time{
            color:#636b6f;
            cursor: pointer;
            padding: 2px 5px;
            background-color: #ffff00;
            border-radius: 10px;
            border-left: 5px solid #ffff00;
            border-right: 5px solid #ffff00;
        }
        .edit-info:hover{
            text-decoration: none;
        }

        .border-right{
            border-right: 1px solid #ccc;
        }

        .color222{
            color: #222;
        }
        .colorf66{
            color: #f66;
        }
        .bgborff0{
            background-color: #ff0 !important;
            border-color: #ff0 !important;
        }
        
        .bgff0{
            background-color: #ff0 !important;
        }
        
        .bgeee{
            background-color: #eee !important;
        }
        
        .bgfff{
            background-color: #fff !important;
        }
        .enter-lesson{
            cursor: pointer;
            background-color: #ffff00;
            padding: 1px 5px;
            border-radius: 10px;
            border-left: 5px solid #ffff00;
            border-right: 5px solid #ffff00;
        }

        .btn-yellow{
            background-color: #ffff00; 
        }

       .checkbox input{
            appearance: none;
            -webkit-appearance: none;
            outline: none;
            display: none;
        }

       .form-group div .checkbox {
            padding: 3px 15px;
            background-color: #eee;
            border-radius: 20px;
            border-left: 5px solid #eee;
            border-right: 5px solid #eee;
        }
        
        .text-center{
            text-align: center;
        }
        .font12{
            font-size: 12px;
        }
        .padding0{
            padding: 0 !important;
        }
        body{
            /*background-color: #fff;*/
        }

        .ff0-round{
            display: inline-block;
            margin-bottom: -1px;
            margin-right: 5px;
            height: 14px;
            width: 14px;
            border-radius: 50%;
            background-color: #ff0;
        }
        .eee-round{
            display: inline-block;
            margin-bottom: -1px;
            margin-right: 5px;
            margin-left: 20px;
            height: 14px;
            width: 14px;
            border-radius: 50%;
            background-color: #eee;
        }
        .fff-round{
            display: inline-block;
            margin-bottom: -1px;
            margin-left: 20px;
            margin-right: 5px;
            height: 14px;
            width: 14px;
            border-radius: 50%;
            background-color: #fff;

        }
        .shadow{
            -moz-box-shadow:2px 2px 5px #333333;
            -webkit-box-shadow:2px 2px 5px #333333;
            box-shadow:2px 2px 5px #333333;
        }
        #lesson-table{
            border-bottom: 3px solid #eee;
        }
        #lesson-table th{
            border: 2px solid #eee;
        }
        #lesson-table tr{
            border-left: 3px solid #eee;
            border-right: 3px solid #eee;
        }
        #lesson-table td{
            border: 2px solid #fff;
        }
        .click{
            cursor: pointer;
        }

        .preview{
            margin-right: 50px;
        }
    </style>
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-default navbar-static-top">
            <div class="container">
                <div class="navbar-header">

                    <!-- Collapsed Hamburger -->
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse" aria-expanded="false">
                        <span class="sr-only">Toggle Navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>

                    <!-- Branding Image -->
                    <a class="navbar-brand" href="{{ url('/') }}">
                        <img class="logo" src="/images/logo.png" alt="SVS">
                    </a>
                </div>

                <div class="collapse navbar-collapse" id="app-navbar-collapse">
                    <!-- Left Side Of Navbar -->
                    <ul class="nav navbar-nav">
                        &nbsp;
                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="nav navbar-nav navbar-right">
                        <!-- Authentication Links -->
                        @guest
                            <li><a href="{{ route('login') }}">Login</a></li>
                        @else
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre>
                                    {{ Auth::user()->name }} <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu">
                                    <li>
                                        <a href="/teacher/logout"
                                            onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();">
                                            Logout
                                        </a>

                                        <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                            {{ csrf_field() }}
                                        </form>
                                    </li>
                                </ul>
                            </li>
                        @endguest
                    </ul>
                </div>
            </div>
        </nav>

        @yield('content')
    </div>

    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}"></script>

    @yield('script')
</body>
</html>
